package com.sgb.kjwl.model.entity;

import android.text.TextUtils;

import java.io.Serializable;

/**
 * 报价查询列表（四种业务）
 */
public class BidEntity implements Serializable {

    /**
     * no : 1176060934037311488
     * num : 0.0776
     * memo : null
     * spec :
     * rentNum : null
     * unit : kg
     * createTime : 2019-09-23
     * rate : null
     * price : 2200.0
     * name : 铁钉
     * id : 779
     * projectName : 西安测试房屋
     * brand : null
     */

    private String no;
    private String num;
    private String memo;
    private String spec;
    private String rentNum;
    private String unit;
    private String createTime;
    private String rate;
    private String price;
    private String name;
    private String id;
    private String projectName;
    private String projectStatus;//项目状态 （0 正常；1 项目结束）
    private String brand;
    private String mid;

    public String getProjectStatus() {
        return projectStatus;
    }

    public void setProjectStatus(String projectStatus) {
        this.projectStatus = projectStatus;
    }

    public String getNo() {
        return no;
    }

    public void setNo(String no) {
        this.no = no;
    }

    public String getNum() {
        return num;
    }

    public void setNum(String num) {
        this.num = num;
    }

    public String getMemo() {
        return memo;
    }

    public void setMemo(String memo) {
        this.memo = memo;
    }

    public String getSpec() {
        return spec;
    }

    public void setSpec(String spec) {
        this.spec = spec;
    }

    public String getRentNum() {
        return rentNum;
    }

    public void setRentNum(String rentNum) {
        this.rentNum = rentNum;
    }

    public String getUnit() {
        return unit;
    }

    public void setUnit(String unit) {
        this.unit = unit;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public String getRate() {
        if (!TextUtils.isEmpty(rate) || rate.equals("0")) {
            rate = rate + "%";
        }
        return rate;
    }

    public void setRate(String rate) {
        this.rate = rate;
    }

    public String getPrice() {
        return price;
    }

    public void setPrice(String price) {
        this.price = price;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getProjectName() {
        return projectName;
    }

    public void setProjectName(String projectName) {
        this.projectName = projectName;
    }

    public String getBrand() {
        return brand;
    }

    public void setBrand(String brand) {
        this.brand = brand;
    }

    public String getMid() {
        return mid;
    }

    public void setMid(String mid) {
        this.mid = mid;
    }
}
